package mode.buildMode03;

//设定属性 ，和 构建bean的属性
public class MacBuilder extends Builder{

    private Computer computer=new Macbook();

    @Override
    public void buildBoard(String board) {
        computer.setmBoard(board);
    }

    @Override
    public void buildDisplay(String display) {
        computer.setmDisplay(display);
    }

    @Override
    public void buildOS() {
        computer.setmOS();
    }

    @Override
    public Computer create() {
        return computer;
    }
}
